package com.tpyule.tpclass.entity.bean;

/**
 * @author zzz
 * @date 2020/2/22 0022 下午 9:28
 */
public class ErrorResultBean<T> extends ResultBean {
    public ErrorResultBean(){

    }
    public ErrorResultBean(T result){
        this.result=result;
        this.msg="错误";
        this.code=400;
        this.isSuccess=false;
    }
    public ErrorResultBean(T result,String msg){
        this.result=result;
        this.msg=msg;
        this.code=400;
        this.isSuccess=false;
    }
    public ErrorResultBean(T result,String msg,int code){
        this.result=result;
        this.msg=msg;
        this.code=code;
        this.isSuccess=false;
    }
}
